namespace Model
{
	using System;
	using System.Data.Entity;
	using System.ComponentModel.DataAnnotations.Schema;
	using System.Linq;
	using kang.Entitys.IdentityAuthentication;

	public class DropInitializer : DropCreateDatabaseIfModelChanges<CodeFirstTestMvcDBEntities>
	{
		protected override void Seed(CodeFirstTestMvcDBEntities context)
		{
			base.Seed(context);
		}
	}

	public partial class CodeFirstTestMvcDBEntities : DbContext
	{
		public CodeFirstTestMvcDBEntities()
			: base("name=CodeFirstTestMvcDBEntities1")
		{

		}


		public IDbSet<UserInfo> UserInfos { get; set; }
		public IDbSet<UserRoleMapper> UserRoleMappers { get; set; }
		public IDbSet<UserActionMapper> UserActionMappers { get; set; }
		public IDbSet<RoleInfo> RoleInfos { get; set; }
		public IDbSet<RoleActionMapper> RoleActionMappers { get; set; }
		public IDbSet<DepartmentUserMapper> DepartmentUserMappers { get; set; }
		public IDbSet<Department> Departments { get; set; }
		public IDbSet<ActionInfo> ActionInfo { get; set; }

		
		protected override void OnModelCreating(DbModelBuilder modelBuilder)
		{

		}
	}
}
